package org.noka.http;

import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLSession;
/**
 * <p>@Title </p>
 * <p>@Description 信任所有证书</p>
 * <p>@Version 1.0.0</p>
 * <p>@author rebin</p>
 * <p>@date 2017年11月3日</p>
 * <p>xiefangjian@163.com</p>
 * <p>Copyright © Noka Laboratory.All Rights Reserved.</p>
 */
public class HttpHostnameVerifier implements HostnameVerifier{

	@Override
	public boolean verify(String arg0, SSLSession arg1) {
		return true;//接收所有证书
	}

}
